package com.app.common.obj;

import android.support.v4.app.Fragment;

/**
 * Created by zhoulikai on 17/2/16.
 */

public class UIFrameworkContent {
    private int[] icon;
    private String title;
    private Fragment fragment;
    private int backgroundId;

    public UIFrameworkContent(int backgroundId, String title, Fragment fragment) {
        this.backgroundId = backgroundId;
        this.title = title;
        this.fragment = fragment;
    }

    public UIFrameworkContent(Fragment fragment, String title, int[] icon) {
        this.fragment = fragment;
        this.title = title;
        this.icon = icon;
    }


    public void setBackgroundId(int backgroundId) {
        this.backgroundId = backgroundId;
    }

    public int getBackgroundId() {
        return backgroundId;
    }


    public void setFragment(Fragment fragment) {
        this.fragment = fragment;
    }

    public Fragment getFragment() {
        return fragment;
    }

    public void setIcon(int[] icon) {
        this.icon = icon;
    }

    public int[] getIcon() {
        return icon;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }
}
